﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SqlList.aspx.cs" Inherits="PlugNT.Cms.Web.Admin.Pre_Systems.SqlList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>SQL语句列表</title>
<link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript">
function $(arg)
{
    return document.getElementById(arg);
}
function CheckSubmit(str)
{
    return confirm("确定"+str+"吗？");
}
</script>
</head>
<body>
<div class="frmstatic" style="display:block">
    <span class="frmbar" style="margin:0 12px;"></span><span class="frmbar" style="margin:0 11px;"></span>
    <div class="controls">
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
          <tr>
            <td align"left">
                <table>
                    <tr>
                        <td><img src="../images/maintenance_32x32.gif" width="16" height="16" /></td>
                        <td><label>核心 > SQL语句列表 </label></td>
                    </tr>
                </table>
            </td>
            <td align="right">
                <span>操作 > </span>
                <a href='./EditSqls.aspx?t=add'>添加SQL语句</a>
                <a href='javascript:window.history.back();'>返回</a> 
            </td>
          </tr>
        </table>
    </div>
    <span class="frmbar" style="margin:0 11px;"></span><span class="frmbar" style="margin:0 12px;"></span>
</div>




<div class="frmstatic" style="display:block">
 <table width="100%" border="0" cellpadding="10" cellspacing="0">
   <tr valign="top">
    <td valign="top">
    
  <form id="form1" runat="server">
     <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#d2e6fa">
       <tr valign="top">
        <td valign="top">
          
        <table width="100%"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ecf5ff">
        <tr>
          <td width="300" align="center" bgcolor="#DDE9FF"><span class="line">SQL关键字</span></td>
          <td align="center" bgcolor="#DDE9FF"><span class="line">SQL语句</span></td>
          <td width="120" align="center" nowrap bgcolor="#DDE9FF">操作</td>
        </tr>
        <asp:Repeater ID="Repeater_admin" runat="server">
          <ItemTemplate>
            <tr align="center">
              <td  bgcolor="#F4FBFF" title='<%#Eval("sqlkey") %>'> <%#Eval("sqlkey")%> </td>
              <td  bgcolor="#F4FBFF" title='<%#Eval("sqlstr") %>'> <%#Eval("sqlstr")%> </td>              
              <td align="center" nowrap bgcolor="#F4FBFF">
                <a href='EditSqls.aspx?t=edit&name=<%#Eval("sqlkey") %>&value=<%#Eval("sqlstr") %>'>修改</a> | 
                <a href='EditSqls.aspx?t=delete&name=<%#Eval("sqlkey") %>' onclick="return CheckSubmit('删除');">删除</a>
              </td>
            </tr>
          </ItemTemplate>
        </asp:Repeater>
        </table>
       </td>
      </tr>
     </table>
  </form>
  
    </td>
  </tr>
 </table>
</div>
</body>
</html>

